﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Power.Models
{
    public class SectionManagementViewModelEntity : BaseModel
    {
        //列表
        private ObservableCollection<PipManaEntity> pipManaEntityList;
        public ObservableCollection<PipManaEntity> PipManaEntityList
        {
            get => pipManaEntityList;
            set
            {
                pipManaEntityList = value;
                RaisePropertyChanged();
            }
        }

        //片区
        private List<SelectListItem> areaSelectList;
        public List<SelectListItem> AreaSelectList
        {
            get => areaSelectList;
            set
            {
                areaSelectList = value;
                RaisePropertyChanged();
            }
        }

        //区块
        private List<SelectListItem> blockSelectList;
        public List<SelectListItem> BlockSelectList
        {
            get => blockSelectList;
            set
            {
                blockSelectList = value;
                RaisePropertyChanged();
            }
        }

        //工点
        private List<SelectListItem> workSelectList;
        public List<SelectListItem> WorkSelectList
        {
            get => workSelectList;
            set
            {
                workSelectList = value;
                RaisePropertyChanged();
            }
        }

        //批次
        private List<SelectListItem> batchSelectList;
        public List<SelectListItem> BatchSelectList
        {
            get => batchSelectList;
            set
            {
                batchSelectList = value;
                RaisePropertyChanged();
            }
        }
    }
}
